#pragma once
#include "UltimateWinInputPluginPrecompiled.h"
#include "UltimateWinInputPlugin.h"
#include <OgreRoot.h>
 

class UltimateWinInputPlugin;
//global variable
UltimateWinInputPlugin* myPlugin;
 
//-----------------------------------------------------------------------
extern "C" void _UltimateWinInputPluginExport dllStartPlugin(void)
{
  // Create plugin
  myPlugin = new UltimateWinInputPlugin();
 
  // Register
  Ogre::Root::getSingleton().installPlugin(myPlugin);
}
extern "C" void _UltimateWinInputPluginExport dllStopPlugin(void)
{
  Ogre::Root::getSingleton().uninstallPlugin(myPlugin);
  delete myPlugin;
}